using System;
using System.Text;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using NUnit.Framework;
using AjaxControlToolkit;

namespace AjaxControlToolkit.Models.NUnitFluent
{
	
    public partial class SeadragonRectTests
    {


        
        [Test]
        public void SeadragonRectTests_Property_Height_PropertyAssigned ()
        {
            var objectUnderTest = CreateObject();
            System.Single expectedValue;
        
            
            try
            {
                expectedValue = Single.MinValue;
                objectUnderTest.Height = expectedValue;
                Assert.That(expectedValue, Is.EqualTo(objectUnderTest.Height));;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
            
            try
            {
                expectedValue = (System.Single)(-1);
                objectUnderTest.Height = expectedValue;
                Assert.That(expectedValue, Is.EqualTo(objectUnderTest.Height));;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
            
            try
            {
                expectedValue = (System.Single)0;
                objectUnderTest.Height = expectedValue;
                Assert.That(expectedValue, Is.EqualTo(objectUnderTest.Height));;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
            
            try
            {
                expectedValue = (System.Single)1;
                objectUnderTest.Height = expectedValue;
                Assert.That(expectedValue, Is.EqualTo(objectUnderTest.Height));;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
            
            try
            {
                expectedValue = Single.MaxValue;
                objectUnderTest.Height = expectedValue;
                Assert.That(expectedValue, Is.EqualTo(objectUnderTest.Height));;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
        
        }    
        
        
        [Test]
        public void SeadragonRectTests_Property_Width_PropertyAssigned ()
        {
            var objectUnderTest = CreateObject();
            System.Single expectedValue;
        
            
            try
            {
                expectedValue = Single.MinValue;
                objectUnderTest.Width = expectedValue;
                Assert.That(expectedValue, Is.EqualTo(objectUnderTest.Width));;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
            
            try
            {
                expectedValue = (System.Single)(-1);
                objectUnderTest.Width = expectedValue;
                Assert.That(expectedValue, Is.EqualTo(objectUnderTest.Width));;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
            
            try
            {
                expectedValue = (System.Single)0;
                objectUnderTest.Width = expectedValue;
                Assert.That(expectedValue, Is.EqualTo(objectUnderTest.Width));;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
            
            try
            {
                expectedValue = (System.Single)1;
                objectUnderTest.Width = expectedValue;
                Assert.That(expectedValue, Is.EqualTo(objectUnderTest.Width));;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
            
            try
            {
                expectedValue = Single.MaxValue;
                objectUnderTest.Width = expectedValue;
                Assert.That(expectedValue, Is.EqualTo(objectUnderTest.Width));;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
        
        }    
        
    }
}

